package com.lmu.travel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @className: ${NAME}
 * @description: ${TODO}
 * @author liuxuhuang
 * @email liuxuhuang3970@qq.com
 * @date ${DATE} ${TIME}
 * @version：1.0
 */

/**
 * 路线图片表(RouteImg)表实体类
 *
 * @author liuxuhuang
 * @since 2021-06-29 10:09:19
 */

@TableName(value = "route_img", keepGlobalPrefix = true)
@ApiModel(value = "路线图片表", description = "")
@Component
public class RouteImg implements Serializable {

    private static final long serialVersionUID = 385787508265060066L;

    private Integer rgid;

    private Integer rid;

    private String bigpic;

    private String smallpic;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getRgid() {
        return rgid;
    }

    public void setRgid(Integer rgid) {
        this.rgid = rgid;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getBigpic() {
        return bigpic;
    }

    public void setBigpic(String bigpic) {
        this.bigpic = bigpic;
    }

    public String getSmallpic() {
        return smallpic;
    }

    public void setSmallpic(String smallpic) {
        this.smallpic = smallpic;
    }

    public RouteImg() {
    }

    public RouteImg(Integer rgid, Integer rid, String bigpic, String smallpic) {
        this.rgid = rgid;
        this.rid = rid;
        this.bigpic = bigpic;
        this.smallpic = smallpic;
    }

    @Override
    public String toString() {
        return "RouteImg{" +
                "rgid=" + rgid +
                ", rid=" + rid +
                ", bigpic='" + bigpic + '\'' +
                ", smallpic='" + smallpic + '\'' +
                '}';
    }
}